﻿#include "datatabdlg.h"
#include "ui_datatabdlg.h"
#include <QDebug>

DataTabDlg::DataTabDlg(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::DataTabDlg)
{
    ui->setupUi(this);
    setWindowFlags(Qt::FramelessWindowHint | Qt::WindowMinimizeButtonHint);
    ui->CCD_Tab->tabBar()->hide();
}

DataTabDlg::~DataTabDlg()
{
    delete ui;
}

void DataTabDlg::on_CCD_ComboxInfo_activated(int index)
{
    qDebug() << index;
    ui->CCD_Tab->setCurrentIndex(index);
}

void DataTabDlg::on_CD1_TabA2_1_0_clicked(bool checked)
{
	m_bAlgSw1 = checked;
	emit sigAlgSwitch();
}

void DataTabDlg::on_CD1_TabA2_2_0_clicked(bool checked)
{
	m_bAlgSw2 = checked;
	emit sigAlgSwitch();
}
